package dom.domain;

/**
 * Administrator entity. @author MyEclipse Persistence Tools
 */

public class Administrator implements java.io.Serializable {

	// Fields

	@Override
	public String toString() {
		return "{adminId:'" + adminId + "', adminPsd:'" + adminPsd
				+ "', authority:'" + authority + "'}";
	}

	private String adminId;
	private String adminPsd;
	private String authority;

	// Constructors

	/** default constructor */
	public Administrator() {
	}

	/** minimal constructor */
	public Administrator(String adminId, String authority) {
		this.adminId = adminId;
		this.authority = authority;
	}

	/** full constructor */
	public Administrator(String adminId, String adminPsd, String authority) {
		this.adminId = adminId;
		this.adminPsd = adminPsd;
		this.authority = authority;
	}

	// Property accessors

	public String getAdminId() {
		return this.adminId;
	}

	public void setAdminId(String adminId) {
		this.adminId = adminId;
	}

	public String getAdminPsd() {
		return this.adminPsd;
	}

	public void setAdminPsd(String adminPsd) {
		this.adminPsd = adminPsd;
	}

	public String getAuthority() {
		return this.authority;
	}

	public void setAuthority(String authority) {
		this.authority = authority;
	}

}